package com.ae.content.dto;

import java.io.Serializable;
import java.util.List;

public class RequestParamDTO implements Serializable {
    private static final long serialVersionUID = -7483021881711616618L;

    /**
     * 视频资源标识符
     */
    private String video_resource_id;

    /**
     * 封面资源标识符
     */
    private String cover_img_resource_id;

    /**
     * 语言_国家
     */
    private String locale;

    /**
     * 货币
     */
    private String currency;

    /**
     * 帖子内容
     */
    private String content;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 标签列表
     */
    private List<HashtagsDTO> hashtags;

    /**
     * 商品id
     */
    private List<Long> items;

    /**
     * 关联的外部应用
     */
    private List<ExternalItemsDTO> external_items;

    public String getVideo_resource_id() {
        return video_resource_id;
    }

    public void setVideo_resource_id(String video_resource_id) {
        this.video_resource_id = video_resource_id;
    }

    public String getCover_img_resource_id() {
        return cover_img_resource_id;
    }

    public void setCover_img_resource_id(String cover_img_resource_id) {
        this.cover_img_resource_id = cover_img_resource_id;
    }

    public String getLocale() {
        return locale;
    }

    public void setLocale(String locale) {
        this.locale = locale;
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public List<HashtagsDTO> getHashtags() {
        return hashtags;
    }

    public void setHashtags(List<HashtagsDTO> hashtags) {
        this.hashtags = hashtags;
    }

    public List<Long> getItems() {
        return items;
    }

    public void setItems(List<Long> items) {
        this.items = items;
    }

    public List<ExternalItemsDTO> getExternal_items() {
        return external_items;
    }

    public void setExternal_items(List<ExternalItemsDTO> external_items) {
        this.external_items = external_items;
    }

    /**
     * 外部商品类
     */
    static class ExternalItemsDTO implements Serializable{
        private static final long serialVersionUID = 5467061540247934186L;

        /**
         * 来源
         */
        private String source;

        /**
         * 名称
         */
        private String title;

        /**
         * 链接
         */
        private String item_url;

        /**
         * 主图
         */
        private String item_main_pic;

        /**
         * 图片列表
         */
        private List<List<String>> item_pics;

        /**
         * 价格
         */
        private String item_price;

        public String getSource() {
            return source;
        }

        public void setSource(String source) {
            this.source = source;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getItem_url() {
            return item_url;
        }

        public void setItem_url(String item_url) {
            this.item_url = item_url;
        }

        public String getItem_main_pic() {
            return item_main_pic;
        }

        public void setItem_main_pic(String item_main_pic) {
            this.item_main_pic = item_main_pic;
        }

        public List<List<String>> getItem_pics() {
            return item_pics;
        }

        public void setItem_pics(List<List<String>> item_pics) {
            this.item_pics = item_pics;
        }

        public String getItem_price() {
            return item_price;
        }

        public void setItem_price(String item_price) {
            this.item_price = item_price;
        }
    }

    /**
     * 标签
     */
    static class HashtagsDTO implements Serializable {
        private static final long serialVersionUID = -4963747391660578859L;

        /**
         * 开始坐标
         */
        private Long start;

        /**
         * 结束坐标
         */
        private Long end;

        /**
         * 内容
         */
        private String content;

        /**
         * 类型
         */
        private Long object_type;

        /**
         * hashtag+Id
         */
        private Long object_id;

        public Long getStart() {
            return start;
        }

        public void setStart(Long start) {
            this.start = start;
        }

        public Long getEnd() {
            return end;
        }

        public void setEnd(Long end) {
            this.end = end;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public Long getObject_type() {
            return object_type;
        }

        public void setObject_type(Long object_type) {
            this.object_type = object_type;
        }

        public Long getObject_id() {
            return object_id;
        }

        public void setObject_id(Long object_id) {
            this.object_id = object_id;
        }
    }
}
